/**
 * 
 */
package shared;

/**
 * @author Sefverl
 *
 */
public class CoordObject {

	private int x,y;
	private String playerName;
	
	public CoordObject(int x,int y, String player)
	{
		this.x = x;
		this.y = y;
		this.playerName = player;
	}
	
	public int getX() {
		return x;
	}

	public void setX(int x) {
		this.x = x;
	}

	public int getY() {
		return y;
	}

	public void setY(int y) {
		this.y = y;
	}

	public String getPlayerName() {
		return playerName;
	}

	public void setPlayerName(String playerName) {
		this.playerName = playerName;
	}
	
	public String toString()
	{
		return "Player \""+playerName+"\" is @ ("+x+","+y+")\n";
	}
}
